package com.cho.manage;

import java.util.ArrayList;

import com.cho.dto.BoardDTO;
import com.cho.ibatis.SqlDaoSuport;

public class AbbsService implements IABBS{
	private static  AbbsService abbsService;
	private IABBS manager;
	public AbbsService() {
		manager = new AbbsManager();
	}
	
	public static AbbsService getIntance() {
		if(abbsService == null ){
			abbsService = new AbbsService();
		}
		
		return abbsService;
		
	}

	@Override
	public boolean insertBoard(BoardDTO dto) {
		return manager.insertBoard(dto);
	}

	@Override
	public BoardDTO getBoard(int seq) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ArrayList<BoardDTO> getAllBoard() {
		// TODO Auto-generated method stub
		return null;
	}
	
	
	
}
